/*
 Navicat Premium Data Transfer

 Source Server         : 192.168.0.232SQL2016
 Source Server Type    : SQL Server
 Source Server Version : 13001601
 Source Host           : 192.168.0.232\SQL2016:1433
 Source Catalog        : Test
 Source Schema         : dbo

 Target Server Type    : SQL Server
 Target Server Version : 13001601
 File Encoding         : 65001

 Date: 06/12/2024 10:01:57
*/


-- ----------------------------
-- Table structure for User
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[User]') AND type IN ('U'))
	DROP TABLE [dbo].[User]
GO

CREATE TABLE [dbo].[User] (
  [F_Id] nvarchar(50) COLLATE Chinese_PRC_CI_AS  NOT NULL,
  [F_UserCode] nvarchar(50) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_UserName] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_PassWord] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_Phone] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_Sex] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_Age] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_Status] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_Address] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_Url] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_Remark] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_Email] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_CreateTime] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_CreateUser] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_LastModifyTime] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_LastModifyUser] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_DeleteTime] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_DeleteUser] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_DeleteMark] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [F_Sort] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL
)
GO

ALTER TABLE [dbo].[User] SET (LOCK_ESCALATION = TABLE)
GO

EXEC sp_addextendedproperty
'MS_Description', N'主键',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_Id'
GO

EXEC sp_addextendedproperty
'MS_Description', N'用户编码',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_UserCode'
GO

EXEC sp_addextendedproperty
'MS_Description', N'用户名',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_UserName'
GO

EXEC sp_addextendedproperty
'MS_Description', N'用户密码',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_PassWord'
GO

EXEC sp_addextendedproperty
'MS_Description', N'手机号',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_Phone'
GO

EXEC sp_addextendedproperty
'MS_Description', N'性别',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_Sex'
GO

EXEC sp_addextendedproperty
'MS_Description', N'年龄',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_Age'
GO

EXEC sp_addextendedproperty
'MS_Description', N'状态',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_Status'
GO

EXEC sp_addextendedproperty
'MS_Description', N'地址',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_Address'
GO

EXEC sp_addextendedproperty
'MS_Description', N'头像',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_Url'
GO

EXEC sp_addextendedproperty
'MS_Description', N'备注',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_Remark'
GO

EXEC sp_addextendedproperty
'MS_Description', N'电子邮箱',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_Email'
GO

EXEC sp_addextendedproperty
'MS_Description', N'创建时间',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_CreateTime'
GO

EXEC sp_addextendedproperty
'MS_Description', N'创建人',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_CreateUser'
GO

EXEC sp_addextendedproperty
'MS_Description', N'修改时间',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_LastModifyTime'
GO

EXEC sp_addextendedproperty
'MS_Description', N'修改人',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_LastModifyUser'
GO

EXEC sp_addextendedproperty
'MS_Description', N'删除时间',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_DeleteTime'
GO

EXEC sp_addextendedproperty
'MS_Description', N'删除人',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_DeleteUser'
GO

EXEC sp_addextendedproperty
'MS_Description', N'是否删除',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_DeleteMark'
GO

EXEC sp_addextendedproperty
'MS_Description', N'排序',
'SCHEMA', N'dbo',
'TABLE', N'User',
'COLUMN', N'F_Sort'
GO


-- ----------------------------
-- Records of [User]
-- ----------------------------
INSERT INTO [dbo].[User]  VALUES (N'1', N'test001', N'test001', N'123456', N'123', N'男', N'24', NULL, N'河南', N'123456', N'123', N'123@qq.com', N'01  1 1900 12:00AM', NULL, N'01  1 1900 12:00AM', NULL, N'01  1 1900 12:00AM', NULL, NULL, NULL)
GO

INSERT INTO [dbo].[User]  VALUES (N'6bc3ec71-8373-42af-a899-b8a944b7bd5c', N'test', N'test', NULL, N'test', N'男', N'test', NULL, N'test', N'test', N'test', N'test', N'01  1 1900 12:00AM', NULL, N'01  1 1900 12:00AM', NULL, N'01  1 1900 12:00AM', NULL, NULL, NULL)
GO

INSERT INTO [dbo].[User]  VALUES (N'871aa9c5-cc17-487d-95f9-4aa1c907c312', N'1', N'1', N'123456', N'1', N'女', N'1', NULL, N'1', N'1', N'1', N'0', N'01  1 1900 12:00AM', NULL, N'01  1 1900 12:00AM', NULL, N'01  1 1900 12:00AM', NULL, NULL, NULL)
GO

INSERT INTO [dbo].[User]  VALUES (N'string', N'test1', N'test1', N'123456', N'test1', N'女', N'test1', NULL, N'test1', N'test1', N'test1', N'test1', N'01  1 1900 12:00AM', NULL, N'01  1 1900 12:00AM', NULL, N'06  6 2024  9:56AM', NULL, N'1', N'string')
GO


-- ----------------------------
-- Primary Key structure for table User
-- ----------------------------
ALTER TABLE [dbo].[User] ADD CONSTRAINT [PK__User__2C6EC7239AC049E9] PRIMARY KEY CLUSTERED ([F_Id])
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)  
ON [PRIMARY]
GO

